class SaveList(list):
    num = 1
    def __init__(self):
        super().__init__()


def numappend(func):
    def numsize():
        print(func.__len__)
    return numsize






savelist = SaveList()
savelist.append([1,2,3,4])
savelist.append([2,3,4,5])
print(savelist)
if len(savelist) == 2:
    print('2ge')
    savelist.clear()

print(savelist)

